import App from './App'
import * as filters from './utils/index'
Object.keys(filters).forEach(key => Vue.filter(key, filters[key]));

import share from './utils/share'
Vue.mixin(share)
// #ifndef VUE3
import Vue from 'vue'
import uView from "uview-ui";
import {myRequest} from "@/utils/ajax.js"


Vue.prototype.$myRequest=myRequest 
Vue.use(uView);
Vue.config.productionTip = false

App.mpType = 'app'
const app = new Vue({
    ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif